package com.ctshk.rpc.order.hotel.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value="HotelCancelOrderReq请求对象", description="订单中心酒店--取消订单")
public class HotelCancelOrderReq implements Serializable {
    private static final long serialVersionUID = -1L;

    @NotEmpty(message = "订单id不能为空")
    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "取消原因")
    private String cancelReason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "退款明细(当付款状态为已付款时需要此参数)")
    private List<HotelOrderRefundReq> orderRefundReqs;

}
